using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SWGeneracionE.Models
{
    public partial class IngresoRecaudacion
    {
        [Key()]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int idIngresoRecaudacion { get; set; }
        [Required]
        public System.DateTime fecha { get; set; }
        [Required]
        public decimal monto { get; set; }
        [Required]
        public int idServicio { get; set; }
        [Required]
        public int idActividad { get; set; }
        public string observaciones { get; set; }
        [Required]
        public int idEvento { get; set; }

        public virtual Actividad Actividad { get; set; }
        public virtual Evento Evento { get; set; }
        public virtual Servicio Servicio { get; set; }
        public virtual ICollection<Recaudacion> Recaudacion { get; set; }

    }

}